/**
 * 
 */
package com.fox.webapp.persistent;

import org.bson.types.ObjectId;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.fox.webapp.domain.Communicate;

/**
 * @author Yockii
 *
 */
public interface CommunicateRepository extends
		PagingAndSortingRepository<Communicate, ObjectId> {

	Page<Communicate> findByRepliedIsFalseOrderByApplyTimeAsc(Pageable pageable);
	
}
